package com.cn.designpatterns.ex.concrete.factory.abstarFacory;

/**
 * @author zhangyi
 * @date 2018/12/24 11:22
 */
public class ColorFactory extends AbstractFactory {
    @Override
    public ShapeService getShape() {
        return new ShapeServiceImpl();
    }

    @Override
    public ColorService getColor() {
        return new ColorServiceImpl();
    }
}
